<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="?attr/main_background"
    android:orientation="vertical"
    android:padding="@dimen/_10sdp"
    tools:context=".view.Activities.ThemeActivity">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="@dimen/_36sdp"
        android:background="?attr/main_background"
        android:orientation="horizontal">

        <ImageButton
            android:id="@+id/btBack"
            android:layout_width="@dimen/_28sdp"
            android:layout_height="@dimen/_28sdp"
            android:layout_gravity="center"
            android:scaleX="0.6"
            android:scaleY="0.6"
            android:foreground="@drawable/button_action_ripple"
            android:background="@drawable/icon_arrow_left" />

        <TextView
            android:layout_width="wrap_content"
            android:layout_height="match_parent"
            android:fontFamily="@font/inter_medium"
            android:gravity="start|center"
            android:paddingStart="@dimen/_20sdp"
            android:text="Оформление"
            android:textColor="?attr/main_text_color"
            android:textSize="@dimen/_16sdp" />
    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_marginTop="@dimen/_7sdp"
        android:layout_gravity="center"
        android:gravity="center">

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:orientation="vertical"
            android:paddingTop="@dimen/_10sdp"
            android:paddingBottom="@dimen/_25sdp"
            android:paddingHorizontal="@dimen/_10sdp"
            android:background="@drawable/bg_rounded_border_theme">

            <CheckBox
                android:id="@+id/cb_light_theme"
                android:layout_width="30dp"
                android:layout_height="wrap_content"
                android:layout_gravity="end"
                android:buttonTint="?attr/devider_news"
                android:gravity="end"
                android:scaleX="1.2"
                android:scaleY="1.2"/>

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/img_theme_light"/>

            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginTop="@dimen/_7sdp"
                android:text="Светлое"
                android:fontFamily="@font/inter_medium"
                android:textColor="?attr/main_text_color"
                android:textSize="@dimen/_11ssp"/>
        </LinearLayout>

        <View
            android:layout_width="@dimen/_7sdp"
            android:layout_height="match_parent"/>

        <LinearLayout
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:orientation="vertical"
            android:paddingTop="@dimen/_10sdp"
            android:paddingBottom="@dimen/_25sdp"
            android:paddingHorizontal="@dimen/_10sdp"
            android:background="@drawable/bg_rounded_border_theme">

            <CheckBox
                android:id="@+id/cb_dark_theme"
                android:layout_width="30dp"
                android:layout_height="wrap_content"
                android:layout_gravity="end"
                android:buttonTint="?attr/devider_news"
                android:gravity="end"
                android:scaleX="1.2"
                android:scaleY="1.2" />

            <ImageView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:src="@drawable/img_theme_dark"/>
            <TextView
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_gravity="center"
                android:layout_marginTop="@dimen/_7sdp"
                android:text="Темное"
                android:fontFamily="@font/inter_medium"
                android:textColor="?attr/main_text_color"
                android:textSize="@dimen/_11ssp"/>
        </LinearLayout>

    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="horizontal"
        android:layout_marginTop="@dimen/_10sdp">
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_weight="1"
            android:text="Как в системе"
            android:fontFamily="@font/inter_medium"
            android:textSize="@dimen/_12sdp"
            android:textColor="?attr/main_text_color"/>

        <CheckBox
            android:id="@+id/cb_system"
            android:layout_width="30dp"
            android:layout_height="wrap_content"
            android:scaleX="1.2"
            android:scaleY="1.2"
            android:buttonTint="?attr/devider_news"/>
    </LinearLayout>

</LinearLayout>